<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="./css/bootstrap.css">
  <script src="./js/jquery.min.js"></script>
  <script src="./js/popper.min.js"></script>
  <script src="./js/bootstrap.min.js"></script>
  <title>Document</title>
  <style>
    /* 搜索区两个规格：768以下，768以上，只限制长度的改变 */
    @media (max-width:768px) {
      .xz-search{
        width: 100% !important;
        margin: 20px 0 10px 0;
      }
    }
    .xz-search{
      width: 55%;
      height: 32px;
    }
    .xz-search input{
      width: 80%; 
      border: 0;
      outline: none;
      display: block;
      float: left;
      height: 100%;
    }
    .xz-search img{
      float: right;
    }
    .xz-mlist .breadcrumb-item + .breadcrumb-item::before {
      content: "|";
    }
  </style>
</head>

<body>
  <div class="xz-navbar">
    <div class="container">
      <div class="navbar bg-light navbar-expand-lg navbar-light">
        <!-- logo -->
        <a href="#" class="navbar-brand"><img src="./img/header/logo.png" alt=""></a>
        <!-- 响应式小菜单 -->
        <button class="navbar-toggler" data-toggle="collapse" data-target="#xzmenu">
          <span class="navbar-toggler-icon"></span>
        </button>
        <!-- 小菜单链接的大菜单 -->
        <div id="xzmenu" class="collapse navbar-collapse justify-content-between">
          <!-- 搜索 -->
          <div class="xz-search bg-white">
            <input type="text">
            <img src="./img/header/search.png" alt="">
          </div>
          <!-- 选项组(菜单组) -->
          <div class="xz-mlist breadcrumb bg-transparent">
            <a href="#" class="breadcrumb-item">
              <img src="./img/header/care.png" alt="">
            </a>
            <a href="#" class="breadcrumb-item"><img src="./img/header/order.png" alt="">
            </a>
            <a href="#" class="breadcrumb-item">
              <img src="./img/header/shop_car.png" alt="">
            </a>
            <a href="#" class="breadcrumb-item">注册</a>
            <a href="#" class="breadcrumb-item">登录</a>
          </div>
        </div>
      </div>
    </div>
  </div>
  
</body>

</html>